package com.his.dao.jpa;

import java.math.BigDecimal;
import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import com.his.pojo.HisResidentdoctor;


/*
 *住院医生表dao 
 */
public interface ResidentdoctorDao extends CrudRepository<HisResidentdoctor, Long>{
	@Query("select r from HisResidentdoctor r" )
	public List<HisResidentdoctor> findAllHisResd();
	
	public List<HisResidentdoctor> findByBqNo(BigDecimal bqNo );
}
